<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<link rel="stylesheet" type="text/css" href="<%=basePath%>/css/top.css" />
<title>日志查询</title>
<link rel="stylesheet" type="text/css"
	href="<%=basePath%>/css/popcalendar.css" />
<LINK href="<%=basePath%>/css/main.css" type="text/css" rel="stylesheet">
<script src="<%=basePath%>/js/popcalendar.js"></script>
<script src="<%=basePath%>/js/function.js"></script>
<SCRIPT src="<%=basePath%>/js/My97DatePicker/WdatePicker.js"></SCRIPT>
<script>
function delete_diary(diary_id)
{
 msg='确认要删除该日志么？';
 if(window.confirm(msg))
 {
  URL="delete.aspx?diary_id=" + diary_id;
  window.location=URL;
 }
}

function CheckForm()
{   
   return true;
}

function islock()
{
	alert("日志在锁定范围！");
}
		</script>
</HEAD>
<body topmargin="5">
<form name="Form1" method="post" action="LogServlet" id="Form1">
<div><input type="hidden" name="log" id="__VIEWSTATE"
	value="query" /></div>

<div id="pnlMain">

<TABLE class="small" cellSpacing="0" cellPadding="3" width="100%"
	border="0">
	<TR>
		<TD class="Big"><IMG src="<%=basePath%>/img/office/diary.gif"
			align="absMiddle" /> <SPAN class="big3"> 日志查询</SPAN></TD>
	</TR>
</TABLE>
<TABLE class="small" cellSpacing="1" cellPadding="2" width="450"
	align="center" bgColor="#000000" border="0">
	<TR>
		<TD class="TableData" noWrap>起始日期：</TD>
		<TD class="TableData"><input name="txtBeginDate" type="text"
			id="txtBeginDate" class="BigInput" maxlength="10" size="10" value=""
			onclick="WdatePicker()" /></TD>
	</TR>
	<TR>
		<TD class="TableData" noWrap>截止日期：</TD>
		<TD class="TableData"><input name="txtEndDate" type="text"
			id="txtEndDate" class="BigInput" maxlength="10" size="10" value=""
			onclick="WdatePicker()" /></TD>
	</TR>
	<TR>
		<TD class="TableData" noWrap>日志类型：</TD>
		<TD class="TableData"><select name="selectType" id="selectType"
			class="BigSelect">
			<option selected="selected" value="所有类型">所有类型</option>
			<option value="工作日志">工作日志</option>
			<option value="个人日志">个人日志</option>
		</select></TD>
	</TR>
	<TR>
		<TD class="TableData" noWrap>关键词：</TD>
		<TD class="TableData"><input name="txtKey" type="text"
			id="txtKey" class="BigInput" maxlength="50" size="20" /></TD>
	</TR>
	<TR>
		<TD class="TableData" noWrap>日志主题：</TD>
		<TD class="TableData"><input name="txtTitle" type="text"
			id="txtAttachmentName" class="BigInput" maxlength="50" size="20" />
		</TD>
	</TR>
	<div id="pnlField"></div>
	<TR>
		<TD class="TableControl" noWrap align="center" colSpan="2"><INPUT
			class="BigButton" title="进行查询" onclick="return CheckForm();"
			type="submit" value="查询" name="button" /></TD>
	</TR>
</TABLE>

</div>


<div><input type="hidden" name="__EVENTVALIDATION"
	id="__EVENTVALIDATION" value= /></div>
</form>
</body>
</HTML>
